<script src="js/jquery-1.6.2.min.js" type="text/javascript"></script>
<script>
	function test(strurl){
		var parameters = "";//"{'flowsheetId': 'ugm', 'flowsheetVersion': '0', 'layers': 'null', 'timeFilter': '2011-06-02 12:12:12', 'timeToken': '1306995924547' }";
		var option = {
            type: "POST",
            data: parameters,
			//contentType: "application/json; charset=utf-8",
			contentType: "text/json; charset=utf-8",
            dataType: "json",
            error: function (request,status,err) {
                alert("request: "+request.responseText+ ", status: "+status+", err: "+err);
               
            },
            success: function (data,status) {
            	alert(status);
				$(res).val(data)
            },
            url: strurl
        };
        $.ajax(option);
	}
	
</script>
<input type="button" value="masterDataAction!award" onclick="test('http://www.oscarchinese.com/masterDataAction!award')"/>
<input type="button" value="masterDataAction!country" onclick="test('http://localhost/OscarMovie/masterDataAction!country')"/>
<input type="button" value="masterDataAction!calendar" onclick="test('http://localhost/OscarMovie/masterDataAction!calendar')"/>
<input type="button" value="masterDataAction!role" onclick="test('http://localhost/OscarMovie/masterDataAction!role')"/>
<hr/>
<textarea id="res" cols="200" rows="40">...
</textarea> 
